package com.argticling.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by IntelliJ IDEA. User: santor Date: 08-nov-2010 Time: 19:21:06 To
 * change this template use File | Settings | File Templates.
 */
@Entity
public class Reader implements Persistable {

	@Column
	private String userMail;

	@Column
	private String readerMail;

	@Id
	private String id;
	
	public Reader() {
	}

	public Reader(String user, String mail) {
		this.userMail = user;
		this.readerMail = mail;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserMail() {
		return userMail;
	}

	public void setUserMail(String user) {
		this.userMail = user;
	}

	public String getReaderMail() {
		return readerMail;
	}

	public void setReaderMail(String mail) {
		this.readerMail = mail;
	}
}
